import fetch from 'common/src/utils/fetch';
export function listScorePower (data = {}) {
  return fetch({
    url: '/api/scoremanagementservice/scoreEntryControl/listScorePower',
    method: 'post',
    headers: { 'Content-Type': 'application/json' },
    data
  });
}
export function saveScorePower (data) {
  return fetch({
    url: '/api/scoremanagementservice/scoreEntryControl/saveScorePower',
    method: 'POST',
    data
  });
}
export function updateScorePower (data) {
  return fetch({
    url: '/api/scoremanagementservice/scoreEntryControl/updateScorePower',
    method: 'POST',
    data
  });
}
export function deleteArrearsStudent (id) {
  return fetch({
    url: `/api/scoremanagementservice/scoreEntryControl/batchDelScorePower?ids=${id}`,
    method: 'delete',
    headers: { 'Content-Type': 'application/json' },
  })
}
export function findOpenCollege (data = {}) {
  return fetch({
    url: '/api/scoremanagementservice/scoreEntryControl/findOpenCollege',
    method: 'GET',
    headers: { 'Content-Type': 'application/json' },
    params: data
  })
}